package com.xingkeduo.dto.transter.hairstyleDetails;

import com.xingkeduo.dto.HairstyleDetailResponseDTO;
import com.xingkeduo.dto.HairstyleResponseDTO;
import com.xingkeduo.utils.ResponseUtils;
import lombok.Data;

@Data
public class HairstyleDetail {
    private int error;
    private Object reason;
    private ContentHairstyleDetail content;

    public void cover(ContentHairstyleDetail contentHairstyleDetail, ResponseUtils<HairstyleDetailResponseDTO> hairstyleResponseDTOResponseUtils){

        this.error = hairstyleResponseDTOResponseUtils.getStatus();
        this.reason = hairstyleResponseDTOResponseUtils.getMsg();
        this.content = contentHairstyleDetail;

    }

}
